/*
 * @Description: 请输入描述信息
 * @Version: 请输入版本号
 * @Autor: renmengxue
 * @Date: 2021-12-01 15:31:17
 * @LastEditors: xuebao
 * @LastEditTime: 2021-12-01 20:03:40
 */
import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'Home',
    component: Home
  },
  {
    path: '/backTopOne',
    name: 'backTopOne',
    component: ()=>import('../views/BackTopOne.vue')
  },
  {
    path: '/backTopTwo',
    name: 'backTopTwo',
    component: ()=>import('../views/BackTopTwo.vue')
  },
  {
    path:"/login",
    name:'login',
    component: ()=>import('../views/Login.vue')
  }
  
]

const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router
